Piwik\API\DataTablePostProcessor B

Total Complexity 82
Dependencies 18
Dependents 6
Total lines 414
Lines of code 278
Logical lines of code 188
Comment lines 102
Methods 22
Properties 8

Methods 22

Method Rating Maintainability Complexity Lines of code
applyProcessedMetricsGenericFilters()
A
46 14 36
computeProcessedMetrics()
A
46 13 39
applyFlattener()
S
56 6 18
applyLabelFilter()
S
56 6 17
applyMetricsFormatting()
S
58 6 14
applyRequestedColumnDeletion()
S
57 5 14
applyGenericFilters()
S
54 4 20
applyComparison()
S
57 4 17
removeTemporaryMetrics()
S
59 4 14
process()
S
55 3 21
getLabelFromRequest()
S
62 3 11
applyPivotByFilter()
S
60 2 12
applyTotalsCalculator()
S
67 2 7
applyQueuedFilters()
S
70 2 6
convertSegmentValueToSegment()
S
73 1 5
setFormatter()
S
81 1 3
setCallbackAfterGenericFilters()
S
81 1 3
setCallbackBeforeGenericFilters()
S
81 1 3
unsanitizeLabelParameter()
S
74 1 4
setRequest()
S
81 1 3
applyComputeProcessedMetrics()
S
80 1 3
__construct()
S
66 1 8